﻿using System;
using System.Net;
using System.Runtime.Serialization;

namespace BusinessObjects
{
    [DataContract]
    public class Species
    {
        [DataMember]
        public String FileName
        {
            get;
            set;
        }

        [DataMember]
        public String Name
        {
            get;
            set;
        }

        [DataMember]
        public String ConservationStatus
        {
            get;
            set;
        }

        [DataMember]
        public String Location
        {
            get;
            set;
        }

        [DataMember]
        public String About
        {
            get;
            set;
        }

        public Species()
        {
            FileName = null;
            Name = null;
            ConservationStatus = null;
            Location = null;
            About = null;
        }

        public Species(String fileName, String name,
            String conservationStatus, String location, String about)
        {
            FileName = fileName;
            Name = name;
            ConservationStatus = conservationStatus;
            Location = location;
            About = about;
        }
    }
}
